package homework_0318;

public class MainClass {
    public static void main(String[] args) {
        //测试小汽车
        SmallCar smallCar = new SmallCar();
        smallCar.drive();
        smallCar.bibi();
        smallCar.bibi(3);
        //测试大卡车
        BigCar bigCar = new BigCar();
        bigCar.drive();
        bigCar.bibi();
        bigCar.bibi(4);
        //测试圆形
        Circle circle = new Circle();
        circle.setRadius(5);
        circle.getArea();
        //测试矩形
        Rectangle rectangle = new Rectangle();
        rectangle.setLength(5);
        rectangle.setWeight(6);
        rectangle.getArea();

    }
}
